package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.HospitalSet;
import com.atguigu.yygh.vo.hosp.HospitalSetQueryVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 医院设置表 服务类
 * </p>
 *
 * @author atguigu
 * @since 2022-12-05
 */
@Service
public interface HospitalSetService extends IService<HospitalSet> {

    /**
     * 分页条件查询
     *
     * @param page
     * @param limit
     * @param hospitalSetQueryVo
     * @return
     */
    Page<HospitalSet> selectPage(Long page, Long limit, HospitalSetQueryVo hospitalSetQueryVo);

    HospitalSet selectByHoscode(String hoscode);

    /**
     * 获取签名密钥
     *
     * @param hoscode
     * @return
     */
    String getSignKey(String hoscode);
}
